<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../js/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../common/js/bootstrap-3.3.7-dist/css/bootstrap-datatimepicker.4.14.47.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/footer.css" />
		<link rel="stylesheet" type="text/css" href="../../css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="css/manager.css"/>
		<!--画图插件-->
	<!--	<script src="../../js/Chart.addTest.js" type="text/javascript" charset="utf-8"></script>-->
		<script src="../../js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			#choose1{
				border: 0px;
				background-color: #f7f7f7;
				font-size: 0.416666rem;
				margin: 0.347222rem 0.347222rem 0.347222rem 0.388888rem;
				
			}
			.intergral{
				padding: 0.388888rem;overflow: hidden;
				background-color: white;
				border: 0.013888rem solid gainsboro;
				border-left: 0rem;
				border-right: 0rem;
			}
			.f27{
				font-size: 0.375rem;
			}
		</style>
	</head>
	<body>
		<div id="wrap">
			<div id="main">
				<div id="header">
					<a id="headImg" href="javascript:history.go(-1)"><img class="headImg" src="../../images/12.png" /></a>
					<p id="headTitle" style="font-size: 16px;">积分查询</p>
				</div>
				<div id="content" style="padding-top: 1.3rem;">
					<div style=" margin-bottom:0.4rem; width: 100%;">
						<div style="padding-left: 0.5rem;font-size: 12px!important;margin-bottom: 0.3rem;">			
							<div class="" style="float: left;width: 40%; margin-right:0%;font-size: 0.2rem;">  
					            <div class="input-group date" id='date1' style="height: 0.555555rem;">  
					               <select name="" id="time" class="form-control">

										</select>
					            </div>  
					        </div>
						</div>
						<div style="display: inline-block; width: 50%; height:34px; line-height:31px;border: 1px solid red;border-radius: 1rem;">
							<i style=" color: red; margin-left: 0.2rem;" class="glyphicon glyphicon-search" onclick="search()"></i>	
							<input type="" name="" id="bumen" placeholder="姓名" onchange="search()" value="" style="border: 0;font-size: 0.375rem;padding-left: 0.2rem; padding-top: 0.01rem;padding-bottom: 0; width:79%;background-color: #f7f7f7;outline: none;"/>
						</div>
					</div>
					
					<ul style="width: 100%;">
						<li style="overflow: inherit;" class="intergral" data-time = "2017.11.04">
							<div onclick="send1()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27"  style="float: left;">财务出纳：</span>
								<span class="f27"  style="float: left;">赵立虹</span>
								<span class="f27" style="float: right;">总积分：3123</span>
							</div>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.11.04">
							<a onclick="send2()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">培训讲师：</span>
								<span class="f27" style="float: left;">张金艳</span>
								<span class="f27" style="float: right;">总积分：1200</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.11.04">
							<a onclick="send3()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">行政经理：</span>
								<span class="f27" style="float: left;">王元博</span>
								<span class="f27" style="float: right;">总积分：2800</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.11.04">
							<a onclick="send4()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">董事长：</span>
								<span class="f27" style="float: left;">孙泽慧</span>
								<span class="f27" style="float: right;">总积分：11122</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.10.04">
							<a onclick="send5()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">经理：</span>
								<span class="f27" style="float: left;">国鑫</span>
								<span class="f27" style="float: right;">总积分：1550</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.10.04">
							<a onclick="send6()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">客服：</span>
								<span class="f27" style="float: left;">孟昱辰</span>
								<span class="f27" style="float: right;">总积分：1000</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.10.04">
							<a onclick="send7()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">文案策划：</span>
								<span class="f27" style="float: left;">杨晓宇</span>
								<span class="f27" style="float: right;">总积分：2100</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.9.04">
							<a onclick="send8()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">平面策划：</span>
								<span class="f27" style="float: left;">刘小正</span>
								<span class="f27" style="float: right;">总积分：1950</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.9.04">
							<a onclick="send9()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">网络推广：</span>
								<span class="f27" style="float: left;">马忠阳</span>
								<span class="f27" style="float: right;">总积分：980</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.10.04">
							<a onclick="send10()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">渠道总监：</span>
								<span class="f27" style="float: left;">闫峰</span>
								<span class="f27" style="float: right;">总积分：1850</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.10.04">
							<a onclick="send11()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">财务经理： </span>
								<span class="f27" style="float: left;">张立杰 </span>
								<span class="f27" style="float: right;">总积分：2400</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.8.04">
							<a onclick="send12()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">产品经理：</span>
								<span class="f27" style="float: left;">谭善明</span>
								<span class="f27" style="float: right;">总积分：3010</span>
							</a>
						</li>
						<li style="overflow: inherit;" class="intergral" data-time = "2017.7.04">
							<a onclick="send13()" style="display:inline-block;width: 100%;overflow: hidden;">
								<span class="f27" style="float: left;">财务经理：</span>
								<span class="f27" style="float: left;">王东明</span>
								<span class="f27" style="float: right;">总积分：2000</span>
							</a>
						</li>
					</ul>
					
				</div>
			</div>
			<div id="foot" class="row">
				<a class="foot col-xs-3 col-sm-3" href="../kaoqin/index2.html">
					<img class="footImg" src="../../images/guanlixuanzhong.png" />
					<p>管理</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../coalition/colalition.html">
					<img class="footImg" src="../../images/lianmengchushi.png" />
					<p>联盟</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../store/store.html">
					<img class="footImg" src="../../images/11.png" />
					<p>商城</p>
				</a>
				<a class="foot col-xs-3 col-sm-3" href="../personage/personIndex.html">
					<img class="footImg" src="../../images/13.png" />
					<p>我的</p>
				</a>
			</div>
		</div>

	</body>
	<script src="../../js/jquery-2.2.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/handlebars-v2.0.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/rhAdmin.js" type="text/javascript" charset="utf-8"></script>
	<!--<script src="../../../js/bootstrap-3.3.7-dist/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>-->
	<!--<script src="../../../js/handlebars-v2.0.0.js" type="text/javascript" charset="utf-8"></script>-->
	<script src="js/record_write.js" type="text/javascript" charset="utf-8"></script>

	<script src="../../js/rhAdmin.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../js/Chart.addTest.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../common/js/bootstrap-3.3.7-dist/js/moment-with-locales.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../common/js/bootstrap-3.3.7-dist/js/bootstrap-datatimepicker.4.14.47.js" type="text/javascript" charset="utf-8"></script>
	
	
	<script type="text/javascript">
//		$(function() {
						var pieData = [
				{
					value: 111,
					color:"#A94442"
					,text: "20%"
				},
				{
					value : 111,
					color : "#3E8F3E"
					,text: "20%"
				},
				{
					value : 111,
					color : "#002A80"
					,text: "20%"
				},
				{
					value : 111,
					color : "#F0AD4E"
					,text: "20%"
				},
				{
					value : 111,
					color : "#6666FF"
					,text: "20%"
				}
			
			];
			
//	var canvas = document.getElementById("canvas");
//	$('#date1').datetimepicker({  
//	        format: 'YYYY-MM-DD ',  
//	        locale: moment.locale('zh-cn'),
//	        showTodayButton:true,
//	        showClose:true,
//	        minDate:'2017-10-01',
//	        maxDate:'2018-10-31',
//	        date:'2017-10-25',
//	        widgetPositioning:{
//	        	horizontal: 'left',
//      		vertical: 'bottom'
//	        }
//	    });
//	     
//		
//	})
//	var myPie = new Chart(canvas.getContext("2d")).Pie(pieData);


	


//			$.ajax({
//				type: "get",
//				url: "http://47.104.13.109/mall-service/areapic/search",
//				async: true,
//				data: {
//					"areaId": "1"
//				},
//				success: function(data) {
//					console.log(data);
//					$('.tabDiv li:nth-child(1) img').attr("src", data.pic1);
//				}
//			});
			
 var date = new Date(); // new 一个Date对象
		var year = date.getFullYear(); // 年份
		var month = date.getMonth() + 1; // 月份（从0开始，所以应+1）
		var a;
		console.log(year);
		for(var i = month; i > month - 12; i--) {

			if(i == 0) {
				a = 12;
				year -= 1
			} else {
				a = i;
			}
			$('<option value="' + year + '.' + a + '">' + year + "年" + a + "月" + "</option>").appendTo($("#time")); // 依次添加下拉框选项，value自定义，右边的appendTo参数为目标选择框
		}
		    function isContains(str, substr) {
			return new RegExp(substr).test(str);
		}
		    function search() {
			$(".intergral").hide();
			$.each($(".intergral"), function(idx, item) {
				console.log(item)
				var aaa = $('.intergral').eq(idx).attr('data-time');
//				if(idx != 0) {
//					$(".jifen1:nth-child(1)").show();
					if(item.children[0]) {
						if(isContains(aaa, $('#time').val()) && isContains(item.children[0].children[1].innerHTML, $('#bumen').val())) {
							$(this).show();
						}
					}

//				}
			});
		}
		    $('#time').on('change', function() {
			search()
		})
		    
		    function send1(){
            var url = "Integral_main.html?value1=财务出纳&value2=赵立虹&value3=2000&value4=800&value5=323";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send2(){
            var url = "Integral_main.html?value1=培训讲师&value2=张金艳&value3=100&value4=400&value5=800";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send3(){
            var url = "Integral_main.html?value1=行政经理&value2=王元博&value3=1100&value4=700&value5=1000";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send4(){
            var url = "Integral_main.html?value1=董事长&value2=孙泽慧&value3=10000&value4=112&value5=1000";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send5(){
            var url = "Integral_main.html?value1=经理&value2=国鑫&value3=500&value4=550&value5=500";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send6(){
            var url = "Integral_main.html?value1=客服&value2=孟昱辰&value3=100&value4=500&value5=400";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send7(){
            var url = "Integral_main.html?value1=文案策划&value2=杨晓宇&value3=1000&value4=500&value5=600";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send8(){
            var url = "Integral_main.html?value1=平面策划&value2=刘小正&value3=1000&value4=500&value5=450";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send9(){
            var url = "Integral_main.html?value1=网络推广&value2=马忠阳&value3=200&value4=500&value5=280";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send10(){
            var url = "Integral_main.html?value1=渠道总监&value2=闫峰&value3=1000&value4=400&value5=450";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send11(){
            var url = "Integral_main.html?value1=财务经理&value2=张立杰&value3=1000&value4=400&value5=1000";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send12(){
            var url = "Integral_main.html?value1=产品经理&value2=谭善明&value3=1000&value4=1000&value5=1010";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		    function send13(){
            var url = "Integral_main.html?value1=财务经理&value2=王东明&value3=1000&value4=800&value5=200";
            url=encodeURI(url);   //对URL的地址进行encodeURI编码，实际上只有中文的部分被修改编码
            window.location.href=url;
			}
		   
		    
		    
	</script>

</html>